package com.starlight.flower_server.domain.service;

import com.starlight.flower_server.domain.TotalData;
import com.starlight.flower_server.domain.loginInfo.data.LoginInfoData;
import com.starlight.flower_server.infrastructure.entity.Article;
import com.starlight.flower_server.infrastructure.entity.LoginInfo;

import java.util.List;

/**
 * @Author yfy2001
 * @date 2023/4/19 8:54
 */
public interface LoginInfoService {

    LoginInfo queryLoginInfoDetailById(Long id);

    List<LoginInfoData> queryLoginInfoListByFlowerUserIdLatest10(Long flowerUserId);

    List<LoginInfoData> queryAllLoginInfoListByFlowerUserId(Long flowerUserId);

    TotalData<LoginInfoData> queryAllLoginInfoData();

    TotalData<LoginInfoData> queryLoginInfoTotalCount();

    Integer insertLoginInfo(LoginInfo loginInfo);

}
